#ifndef CHART_H
#define CHART_H

#include <QWebView>
#include <QString>

class Chart : public QWebView
{
    Q_OBJECT

public:
    Chart(QWidget *parent = 0);
    void clearDiagram(int days);
    void showChart();
    QString mark1;
    QString mark2;
    QList<int> data1;
    QList<int> data2;
    QUrl _url;
public slots:

private slots:
    void setData(bool ok);
    void openLinkInBrowser(const QUrl &url);
};

#endif // CHART_H
